home *** CD-ROM | disk | FTP | other *** search
-
- /*
- There may be additional include files required depending
- upon the compile product you are using. Typical compilers
- include Microsoft C by Microsoft or Turbo C by Boland Int'l.
- */
- #include <stdio.h>
- struct temp{
- int at;
- int bt;
- };
- main()
- {
- struct temp test;
- access(&test);
- }
- access(v)
- struct temp *v;
- {
- (*v).at=100;
- (*v).bt=200;
- printf("%d %d\n", (*v).at, (*v).bt);
- }
-